package com.ybb.job.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "ybb_job_lock")
public class JobLockEntity implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer schedulerType;
    private Integer nodeId;
    private Date lastUpdate;
}
